import { createApp } from 'vue';
import App from './App.vue';
import router from '@/router/index';
import { createVuetify } from 'vuetify';
import { createPinia } from 'pinia';
import '@/styles/common.styl';
import '@/styles/van_root.styl';
import '@/styles/fix_van.styl';
import '@/assets/iconfont/rd-font.css';
import 'vant/es/toast/style';
import 'vant/es/dialog/style';
import 'vant/es/notify/style';
import { Lazyload } from 'vant';

// vconsole展示
// import VConsole from 'vconsole';
// const vConsole = new VConsole();

const vuetify = createVuetify();
const app = createApp(App);
// 注册时可以配置额外的选项
app.use(Lazyload, {
  lazyComponent: true
});
app.use(createPinia()).use(router).use(vuetify).mount('#app');
